<?php

namespace App\Models;

/**
 * App\Models\SysComment
 * This is the model class for table "sys_comment_".
 *
 * @property int $id 自增长ID
 * @property string $comment_id 评论ID
 * @property string $user_id 用户ID
 * @property string $target_id 评论的目标ID
 * @property int $target_type 评论目标类型：1笔记，2动态
 * @property string $content 内容
 * @property int $is_deleted 删除状态，0正常，1删除
 * @property int $is_view 是否可见，0不可见，1可见。当评论被删除，但其下有回复时，此时评论是可见的
 * @property int $is_shield 是否屏蔽，0正常，1屏蔽
 * @property int $created_at 创建时间戳
 * @property int $updated_at 更新时间戳
 * @property int $hot 热度，点赞+1
 * @property int $have_author_reply 是否有作者回复，0否1是
 * @method static \Illuminate\Database\Eloquent\Builder|SysComment newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|SysComment newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|SysComment query()
 */
class SysComment extends BaseModel
{

    protected $table = "sys_comment_";
    protected $primaryKey = "id";
    protected $keyType = "int";
    public $timestamps = true;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = [];
    

}
